//
//  LSLabel.h
//  BaiduTravel
//
//  Created by bilinguis on 12-2-14.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

//-------------------------------------------------------------------------------

typedef enum
{
    VerticalAlignmentTop = 0, // default
    VerticalAlignmentMiddle,
    VerticalAlignmentBottom,
} VerticalAlignment;

/**
 * <span heiti="" sc="" light'"="">扩充的Label
 * 自适应大小。宽度或高度指定其一，就可以自动计算另一个的值。并可以指定居上、居下显示
 */
@interface LSLabel : UILabel
{
@private
    VerticalAlignment _verticalAlignment;
}

@property (nonatomic) VerticalAlignment verticalAlignment;
@end